package user.ejb.eaos;

import java.util.Collection;

import javax.ejb.Local;

import common.OperationCallback;
import dtos.UserDTO;

@Local
public interface UserList {
	
		public void add(UserDTO userDTO);
		
		public Collection<UserDTO> getUserList();
		public UserDTO getUser(int id);
		public void saveUser(UserDTO u, OperationCallback oc);
		public void removeUser(UserDTO u, OperationCallback oc);
		public void updateUser(UserDTO u, OperationCallback oc);

		public Collection<UserDTO> getEmployeeList();

}
